package com.mapper;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.pojo.trecord;

public interface AppMapper {
	//2017/12/16 14.02 买入
		public List<Map<String, String>> selectmairu(Map mp);
		//卖出
		public List<Map<String, String>> selectmaichu(Map mp);
		
		public List<Map<String, String>> selecttradeinfo(HashMap<String, Object> params);

		public trecord selectming(String userID);

		public List searchques(String userID);
		//提现记录
		public List<Map<String, String>> selecttxhis(String userID);
		//充值记录
		public List<Map<String, String>> selectczhis(String userID);
		//购买记录
		public List<Map<String, String>> selectblist(String userID);
		//售出记录
		public List<Map<String, String>> selectslist(String userID);
		//查询交易记录
		public List<Map<String, String>> selectgrmoney(String userID);
		//查询委托单
		public List<Map<String, String>> selectrecord(String userID);
		//分页
		public int searchqueslist(String userID);
		//分页
		public int searchquesbuy(String userID);
		//分页
		public int searchquesmx(String userID);

}
